package cn.jilian.common.dto;

import java.io.Serializable;

public class PageInfo  implements Serializable{

    private long start;
    private long total;
    private int limit;
    private int cache;
    private int page;
    
    public PageInfo() {
    	this(0,100,20,20);
    }
    public PageInfo(long start,long total,int limit,int cache) {
    	this.start=start;
    	this.total=total;
    	this.limit=limit;
    	this.cache=cache;
    }
	public long getStart() {
        return start;
    }

    public void setStart(long start) {
        this.start = start;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getCache() {
        return cache;
    }

    public void setCache(int cache) {
        this.cache = cache;
    }
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
    
    
}

